package com.allwees.bs.module.wms.rest;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.allwees.bs.core.modelbase.vo.R;
import com.allwees.bs.module.core.rest.BoCrudApi;
import com.allwees.bs.module.wms.entity.WmsShippingOrder;
import com.allwees.bs.module.wms.req.query.WmsShippingOrderQueryReq;
import com.allwees.bs.module.wms.service.WmsShippingOrderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/backstage/api/wms/shipping_order")
public class WmsShippingOrderApi extends BoCrudApi<WmsShippingOrder, WmsShippingOrderService> {

    @GetMapping("/page")
    public R page(Page<WmsShippingOrder> page, WmsShippingOrderQueryReq req) {
        return super.page(page, req);
    }
}
